-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Coverity issues #193
Fix Coverity issues #193
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -2177,19 +2177,20 @@ void MfxC2DecoderComponent::DoWork(std::unique_ptr<C2Work>&& work) | |||
if (it != m_pendingWorks.end()) { | |||
work = std::move(it->second); | |||
m_pendingWorks.erase(it); | |||
|
|||
if (work) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain why we move the logic here?
Thanks,
Tianmi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated it. Please review again.
Thanks,
Hao
8e1ad6f
to
af759a0
Compare
@TianmiChen @feijiang1 @YuanjunHuang Please review. |
Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details. |
CID/Type: 187157 Explicit null dereferenced 656172 Dereference after null check 602228 Dereference before null check Tracked-On: OAM-126078 Signed-off-by: Wan, Hao <[email protected]>
Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details. |
1c6ccea
into
projectceladon:celadon/u/mr0/master
Android CI has completed MERGE Build for this pr, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web for more details. |
CID/Type:
187157 Explicit null dereferenced
656172 Dereference after null check
602228 Dereference before null check
Tracked-On: OAM-126078